// 自定义 参数装饰器
import { Controller, Get } from '@nestjs/common'
import { User } from './custom-decorator/user'
@Controller('custom-params')
export class CustomParamsController {
    // 自定义参数装饰器
    @Get('user')
    customUser(@User() user, @User('name') name) {
        console.log(name)
        return user;
    }
}